package cn.edu.qzuie.artist.module.td.controller.admin.major.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.*;

@Schema(description = "管理后台 - 专业新增/修改 Request VO")
@Data
public class MajorSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "部门编号不能为空")
    private Long departId;

    @Schema(description = "专业名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "网络工程")
    @NotEmpty(message = "专业名称不能为空")
    private String majorName;

    @Schema(description = "专业介绍", example = "网络工程介绍")
    private String description;

}